<?php

namespace maotool\http;

class HttpUtil
{

    public static function createServer()
    {
        return new HttpServer();
    }

    public static function post($url, $data)
    {
        return HttpRequest::post($url)->json($data);
    }

}